{% extends "homepage\base_generic.html" %}
{% block content %}
    
<center>
{% if EventExpense %}
<table border="4" bordercolor="#000000" center>
<tr><td> Expense name </td>     <td> {{EventExpense.expenseName}}</td></tr> 
<tr><td>Total amount of expense </td>   <td>{{EventExpense.expenseAmount}}</td></td> </tr>
<tr>    <td> Date expense incurred</td>     <td>{{EventExpense.expenseDate}}</td></tr>
<tr>    <td>Date expense added</td>    <td>{{EventExpense.expenseAddedDate}}</td></tr>
<tr>    <td>Owner of expense</td>    <td>{{EventExpense.expenseOwner}}</td> </tr>
<tr>    <td></td>    <td>{{EventExpense.expenseEvent}}</td></tr>
<tr>    <td></td>    <td>{{EventExpense}}</td></tr>
</table>        
</center>

<p> Edit this expense </p>

<a href="/CostCalc/{{EventId}}/TripHomepage"> Back to trip homepage </a><br>


<a href="/CostCalc/{{EventId}}/AddTripExpense"> Add another expense to this trip</a>

{% else %}
    <p>No polls are available.</p>
{% endif %}


{% endblock content %}
